home *** CD-ROM | disk | FTP | other *** search
- ` ------------------------------------------------------------------------
- ` Who Broke My Monitor?! DarkForge Snippet (17/8/2000)
- ` ------------------------------------------------------------------------
- `
- ` This re-creates a superb monitor-glitch effect that looks like you've
- ` totally screwed with their video card! Of course it's 100% safe, don't
- ` panic. No photons were harmed in the production of this code.
- ` (well, maybe a few)
-
- sync rate 0
- sync on
- hide mouse
-
- ` s = the severity of the "glitch" !
- ` good values are 6, 32 and 64
-
- s=6
-
- load bitmap "anhk_inside.bmp",1
- create bitmap 2,640,480
-
- set current bitmap 1
- for i=1 to 480
- get image i,0,i-1,640,i
- next i
-
- set text opaque
- ink rgb(255,255,255),0
-
- do
-
- set current bitmap 2
-
- for i=1 to 480
- paste image i,rnd(s),i
- next i
-
- ` Uncomment line below to display the FPS
- ` text 0,0,str$(screen fps())
-
- set current bitmap 0
- copy bitmap 2,0
-
- sync
-
- loop
-
-